package com.zh.web.domain.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zh.web.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ls_role")
@ApiModel("角色表")
public class Role extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("角色id")
    private Long id;
    @ApiModelProperty("角色编码")
    private Integer roleCode;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("角色描述")
    private String roleDesc;
}
